import React from "react";
import lazyLoad from "../utils/lazyLoad";
import Layout from '../../components/Layout/Layout'
import MapIcon from '@mui/icons-material/Map';

const workStationRouter = [
  {
    element: <Layout />,
    children: [
      {
        path: '/map/index',
        element: lazyLoad(React.lazy(() => import("../../pages/Maps"))),
        meta: {
          requiresAuth: true,
          key: "mapsIndex",
          title: "地图测试",
          icon: MapIcon,
          titleI18n: 'mapsIndex',
          showNav: true
        },
        index: 4
      }
    ]
  },
]

export default workStationRouter
